package tech.aistar.day09.homework;

/**
 * 本类用来演示: 大量的第三方类来封装数据
 *
 * 对象就是数据的载体
 *
 * @author: success
 * @date: 2022/7/29 8:59 上午
 */
public class PurcaseVo {
    private String brand;

    private Double total;

    public PurcaseVo(String brand, Double total) {
        this.brand = brand;
        this.total = total;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PurcaseVo{");
        sb.append("brand='").append(brand).append('\'');
        sb.append(", total=").append(total);
        sb.append('}');
        return sb.toString();
    }
}
